<extend name="Base/common"/>

<block name="header">
    <header class="subhead" id="overview">
        <div class="container">
            {:hook('banner')}
            <div class="row hidden-xs">
                <include file="Public/bread" />
            </div>
        </div>
    </header>
</block>
<block name="body">
    <div class="container">
        <div class="row">
            <aside class="col-md-2 article-meta hidden-xs hidden-sm">
                <img width="60%" style="margin: 0 20%" class="img-circle" src="__ROOT__{$info.uid|get_user_info=img}" alt=""/>
                <hr />
                <p><span class="glyphicon glyphicon-user"></span> 作者：{$info.uid|get_nickname}</p>
                <p><span class="glyphicon glyphicon-time"></span> 发表于 {$info.create_time|timeTip}前</p>
                <p><span class="glyphicon glyphicon-info-sign"></span> {$info.uid|get_user_info=description}</p>
            </aside>
            <article class="col-md-10 article-content">
                <header class="article-title">
                    <h1>{$info.title}</h1>
                    <p class="hidden-md hidden-lg">{$info.create_time|time_format}|{$info.uid|get_nickname}</p>
                </header>
                <div class="article-body">
                    {$info.content}
                </div>
                <footer>
                    <p style="margin:15px 0;font-size: 0.8em;line-height: 1.5em;">
                        <span style="padding: 10px;background-color:#eeeeee;border: 1px solid #dddddd; border-radius: 5px">阅读数：{$info.view}</span>
                    </p>
                </footer>
            </article>
        </div>
    </div>
    <div class="container">
            <hr class="hidden-xs hidden-sm" />
        {:hook('documentDetailAfter',$info)}
    </div>


</block>
